#ifndef PLACE_VIEW_H
#define PLACE_VIEW_H

#include <QDialog>

#include "view_base.h"
#include "result_processor.h"
#include "data_types.h"

namespace Ui {
    class PlaceView;
}

class PlaceView : public ViewBase, ResultProcessor
{
    Q_OBJECT

public:
    explicit PlaceView(QWidget *parent = 0);
    virtual ~PlaceView();

    virtual void IssueRequest();

    void SetPlace(place p);

  protected:
    virtual int ProcessRawResult(QByteArray &data);

private:
    Ui::PlaceView *ui;

    place place_;
};

#endif // PLACE_VIEW_H
